package com.shop.sso.app.sercive;


import com.shop.Result.LdbzResult;
import com.shop.pojo.LdbzUser;

public interface UserApi {

    //用户登录
    LdbzResult login(LdbzUser user);

    //根据token的值获取用户信息，判断用户是否存在
    LdbzUser token(String token);

    //根据token的值退出登录
    LdbzResult logout(String token,String callback);

    //注册检查是否可用
    String validateUser(String isEngaged,String regName,String email);

    //用户注册
    String register(String regName,String pwd,String pwdRepeat,String emailCode,String uuid,String authCode,String s);
}
